package com.dwxt.cdms.dao;

import com.dwxt.cdms.entity.MedicationRemind;
import com.dwxt.cdms.entity.MedicationRemindExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MedicationRemindMapper {
    int countByExample(MedicationRemindExample example);

    int deleteByExample(MedicationRemindExample example);

    int deleteByPrimaryKey(String id);

    int insert(MedicationRemind record);

    int insertSelective(MedicationRemind record);

    List<MedicationRemind> selectByExample(MedicationRemindExample example);

    MedicationRemind selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") MedicationRemind record, @Param("example") MedicationRemindExample example);

    int updateByExample(@Param("record") MedicationRemind record, @Param("example") MedicationRemindExample example);

    int updateByPrimaryKeySelective(MedicationRemind record);

    int updateByPrimaryKey(MedicationRemind record);
}